CVE-2026-3368
Injection Guard <= 1.2.9 - Unauthenticated Stored Cross-Site Scripting via Query Parameter Name
Description
The Injection Guard plugin for WordPress is vulnerable to Stored Cross-Site Scripting via malicious query parameter names in all versions up to and including 1.2.9. This is due to insufficient input sanitization in the sanitize_ig_data() function which only sanitizes array values but not array keys, combined with missing output escaping in the ig_settings.php template where stored parameter keys are echoed directly into HTML. When a request is made to the site, the plugin captures the query string via $_SERVER['QUERY_STRING'], applies esc_url_raw() (which preserves URL-encoded special characters like %22, %3E, %3C), then passes it to parse_str() which URL-decodes the string, resulting in decoded HTML/JavaScript in the array keys. These keys are stored via update_option('ig_requests_log') and later rendered without esc_html() or esc_attr() on the admin log page. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in the admin log page that execute whenever an administrator views the Injection Guard log interface.
INFO
Published Date :
March 21, 2026, 12:16 a.m.
Last Modified :
March 21, 2026, 12:16 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
The following products are affected by CVE-2026-3368
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update Injection Guard plugin to version 1.3.0 or later.
- Sanitize both array keys and values.
- Escape output when rendering parameter keys.
- Review input sanitization and output escaping.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-3368.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-3368 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-3368
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-3368 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-3368 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by [email protected]
Mar. 21, 2026
Action Type Old Value New Value Added Description The Injection Guard plugin for WordPress is vulnerable to Stored Cross-Site Scripting via malicious query parameter names in all versions up to and including 1.2.9. This is due to insufficient input sanitization in the sanitize_ig_data() function which only sanitizes array values but not array keys, combined with missing output escaping in the ig_settings.php template where stored parameter keys are echoed directly into HTML. When a request is made to the site, the plugin captures the query string via $_SERVER['QUERY_STRING'], applies esc_url_raw() (which preserves URL-encoded special characters like %22, %3E, %3C), then passes it to parse_str() which URL-decodes the string, resulting in decoded HTML/JavaScript in the array keys. These keys are stored via update_option('ig_requests_log') and later rendered without esc_html() or esc_attr() on the admin log page. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in the admin log page that execute whenever an administrator views the Injection Guard log interface. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N Added CWE CWE-79 Added Reference https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/guard.php#L105 Added Reference https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/guard.php#L153 Added Reference https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/guard.php#L49 Added Reference https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/guard.php#L8 Added Reference https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/guard.php#L94 Added Reference https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/ig_settings.php#L120 Added Reference https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/ig_settings.php#L121 Added Reference https://plugins.trac.wordpress.org/browser/injection-guard/tags/1.2.8/ig_settings.php#L124 Added Reference https://plugins.trac.wordpress.org/browser/injection-guard/trunk/guard.php#L105 Added Reference https://plugins.trac.wordpress.org/browser/injection-guard/trunk/guard.php#L153 Added Reference https://plugins.trac.wordpress.org/browser/injection-guard/trunk/guard.php#L49 Added Reference https://plugins.trac.wordpress.org/browser/injection-guard/trunk/guard.php#L8 Added Reference https://plugins.trac.wordpress.org/browser/injection-guard/trunk/guard.php#L94 Added Reference https://plugins.trac.wordpress.org/browser/injection-guard/trunk/ig_settings.php#L120 Added Reference https://plugins.trac.wordpress.org/browser/injection-guard/trunk/ig_settings.php#L121 Added Reference https://plugins.trac.wordpress.org/browser/injection-guard/trunk/ig_settings.php#L124 Added Reference https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3482741%40injection-guard&new=3482741%40injection-guard&sfp_email=&sfph_mail= Added Reference https://www.wordfence.com/threat-intel/vulnerabilities/id/15d9817c-910d-4ce1-a5fb-67a2b6580e16?source=cve